#pragma once
#include <RenderTaskPool/Component.h>
class GUI
{
	class Hierarcchy;
	class ProjectViewer;
	class Insepctor;
	
    static Hierarcchy*  GetHierarchy();
    static ProjectViewer* GetProjectViewer();
    static Insepctor* GetInsepctor();
public:
    static GUI& Get() {
        static GUI ins;
        return ins;
    }
	void Init();

	bool Update();


private:
    void DealCommand(entt::registry& reg);

    void ShowMainMenu();

    void ShowInspector();

    void ShowEntityList();

protected:
    void ShowHierarchy();
private:
    
};

